package com.zansc.longd.utils;

import org.apache.shiro.crypto.hash.Md5Hash;
import org.apache.shiro.crypto.hash.SimpleHash;

public class MD5Utils {
    
    private MD5Utils() {
    }
    
    public static String md5Encryption(String source,String salt){
        Md5Hash md5Hash = new Md5Hash(source, salt, 1024);
        return md5Hash.toHex();
    }
    
}
